package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.Bbs;
import com.jbp.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 留言板(Bbs)表服务接口
 * @author cc
 * @since 2020-08-28 18:11:58
 */
public interface BbsService extends IService<Bbs> {
    PageUtils queryPage(Map<String, Object> params);

    void add(Bbs bbs);

    List<Bbs> latest(Map<String, Object> params);

    Bbs top();
}